@layout("/common/_form.html",{js:["/assets/manager/flowOrder/flowOrder_edit.js"]}){

<form class="layui-form" id="flowOrderForm" lay-filter="flowOrderForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">

            <div class="layui-card-header">订单基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="orderId" type="hidden"/>
                    <input name="payCode" id="payCode" type="hidden" />
                    <input name="bdMemberId" id="bdMemberId" type="hidden" />
                    <input name="zfbMemberId" id="zfbMemberId" type="hidden" />
                    <input name="orderType" id="orderType" type="hidden" />
                    <input name="storeId" id="storeId" type="hidden" />

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">订单号</label>
                        <div class="layui-input-block">
                            <div class="layui-elem-quote" id="orderCode">

                            </div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">搬运起点</label>
                        <div class="layui-input-block">
                            <div class="layui-elem-quote" id="begAddress">

                            </div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">搬运终点</label>
                        <div class="layui-input-block">
                            <div class="layui-elem-quote" id="endAddress">

                            </div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">服务描述</label>
                        <div class="layui-input-block">
                            <div class="layui-elem-quote">
                                服务/寄存城市：<span id="serviceCity"></span>
                                服务类型：<span id="serviceName"></span>
                                联系人：<span id="name"></span>
                                联系电话：<span id="phone"></span>
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">用户备注</label>
                        <div class="layui-input-block">
                            <textarea name="notes" id="notes" placeholder="请输入用户备注" class="layui-textarea"></textarea>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12" style="display: none;">
                        <label class="layui-form-label">仓储周期</label>
                        <div class="layui-input-block">
                            <input id="storageTime" name="storageTime" placeholder="请输入仓储周期" type="text" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">搬运日期</label>
                        <div class="layui-input-block">
                            <input id="useDate" name="useDate" placeholder="请输入搬运日期" type="text" class="layui-input"/>
                        </div>
                    </div>
                </div>
            </div>

            <div class="layui-card-header">订单基础费用</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">基础费用</label>
                        <div class="layui-input-block">
                            <input id="moneys" name="moneys" placeholder="请输入基础费用" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">搬运/寄送公里数</label>
                        <div class="layui-input-block">
                            <input id="kilometer" name="kilometer" placeholder="请输入公里数" type="text" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">运输费用</label>
                        <div class="layui-input-block">
                            <input id="settlementMoneys" name="settlementMoneys" placeholder="请输入运输费用" type="text" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">运费说明</label>
                        <div class="layui-input-block">
                            <textarea name="kilometerNote" id="kilometerNote" placeholder="若价格调整，请备注以便客户知晓~" class="layui-textarea"></textarea>
                        </div>
                    </div>
                </div>
            </div>

            <div class="layui-card-header">订单物品费用</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">物品费用</label>
                        <div class="layui-input-block" id="formList">
                            <div class="layui-col-md6">
                                <button class="layui-btn" id="btnAdd">添加</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="layui-card-header">额外费用</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">搬出楼层</label>
                        <div class="layui-input-block">
                            <input id="begElevatorPrice" name="begElevatorPrice" placeholder="请输入搬出楼层费用" type="text" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">搬入楼层</label>
                        <div class="layui-input-block">
                            <input id="endElevatorPrice" name="endElevatorPrice" placeholder="请输入搬入楼层费用" type="text" class="layui-input"/>
                        </div>
                    </div>
                </div>
            </div>

            <div class="layui-card-header">订单优惠明细</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">优惠卷</label>
                        <div class="layui-input-block">
                            <div class="param-line layui-col-md12">
                                <div class="layui-inline">
                                    <input type="text" class="layui-input" name="couponName" id="couponName" placeholder="点击选择" readonly="readonly" value="">
                                    <input type="hidden" id="couponId" name="couponId" />
                                </div>
                                <div class="layui-inline">
                                    <input type="text" class="layui-input" id="couponMoneys" name="couponMoneys" readonly="readonly" placeholder="优惠金额" value="">
                                </div>
                                <div class="layui-inline">
                                    <button class="layui-btn" id="btnCanselCoupon" style="display: none;">取消用卷</button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="layui-card-header">订单总计</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">

                    <div  class="layui-inline layui-col-md12">
                        <label class="layui-form-label">定金金额</label>
                        <div class="layui-input-block">
                            <input  id="deposit"  name="deposit" type="text" readonly="readonly" class="layui-input"  value="" />
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">结算金额</label>
                        <div class="layui-input-block">
                            <input id="payMoneys" name="payMoneys" placeholder="自动计算留空(基础费用 + 运输费 + 物品费)，若输入以输入金额为准" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">支付金额</label>
                        <div class="layui-input-block">
                            <input id="allPayMoneys" name="allPayMoneys" placeholder="自动计算留空（结算金额 - 优惠金额），若输入以输入金额为准" type="text" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">追加金额</label>
                        <div class="layui-input-block">
                            <input id="addMoneys" name="addMoneys" placeholder="追加金额，若输入以输入金额为准" type="text" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">增值服务备注</label>
                        <div class="layui-input-block">
                            <textarea name="endNotes" id="endNotes" placeholder="若价格调整，或者添加额外增值服务变动价格，服务内容，请备注以便客户知晓~" class="layui-textarea"></textarea>
                        </div>
                    </div>
                </div>
            </div>

        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}